package com.jswlw.controller.api.resp;

import com.jswlw.common.BaseApiResponse;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author 吴维斌 E-mail:wuweibin0817@163.com
 * @version 创建时间：${date} ${time}
 */
@ApiModel(description = "API-经销商信息响应对象")
@Data
@EqualsAndHashCode(callSuper = false)
public class DistributorResponse extends BaseApiResponse {

    DistributorResponseData data;

    @Data
    @Builder
    public static class DistributorResponseData {
        @ApiModelProperty(value = "id", required = true, example = "1")
        Integer id;
        @ApiModelProperty(value = "经销商名称", required = true, example = "1")
        String name;
        @ApiModelProperty(value = "经销商地址", required = true, example = "1")
        String address;
        @ApiModelProperty(value = "联系电话", required = true, example = "1")
        String linkTel;
        @ApiModelProperty(value = "联系人", required = true, example = "1")
        String linkMan;
    }
}
